<%--
  Created by IntelliJ IDEA.
  User: v.tsapaev
  Date: 25.05.12
  Time: 19:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title></title>
    <link type="text/css" rel="stylesheet" href="resources/css/index.css">
</head>
<body>
    <div id="container">
        <c:if test="${not empty param.error}">
            <div style="color: red;"> Ошибка
                : ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}  </div>
        </c:if>
        <form method="post" id="login-form" action="${pageContext.request.contextPath}/j_spring_security_check">
            <table class="table-center">
                <tr>
                    <td align="right">login</td>
                    <td><input id="j_username" type="text" name="j_username" /></td>
                </tr>
                <tr>
                    <td align="right">pass</td>
                    <td><input id="password" type="password" name="j_password" /></td>
                </tr>
                <tr>
                    <td colspan="2" align="right">
                        <input type="submit" value="Login" id="login"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>